﻿#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
#endregion

namespace TheSpirit
{
    class WaterBall : Tower
    {
        #region Initialize

        public WaterBall()
        {
            attack = 0;
            delay = 0;
            range = 0;
            attackVelocity = 500;
            attackTime = 0;

            isAttack = false;

            towerAttribute = new Attribute();
            towerAttribute.attributeType = Attribute.AttributeType.Water;
        }

        public override void LoadContent(ContentManager content)
        {
            towerTexture = content.Load<Texture2D>("Tower/Water/WaterBallTower");
        }

        #endregion


        #region Update & Draw

        public override void Update(GameTime gameTime, List<Enemy> enemy, int worldX, int worldY)
        {
            //공격
        }

        public override void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(towerTexture, localLocation, Color.White);
        }

        #endregion
    }
}
